package com.healthcare.admin.form;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author:张琦
 * @date: Greated in 2020/4/16 9:17
 */
@ApiModel(value = "用户基本信息", description = "编辑用户基本信息的表单对象")
@Data
public class UserForm implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户姓名")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "科室名")
    private String adminofficename;

    @ApiModelProperty(value = "职称名称")
    private String titledictionaryname;

    @ApiModelProperty(value = "身份 0是操作员(只能存在一个)1是普通医生(可以有多个)")
    private Integer identity;

}
